from expression import expression

class integer(expression):
        def __init__(self,val):
                self.val = val
                if(type(val) != type(0)):
                        print "Int incorrectly intialized with a " + str(type(val))
        def evaluate(self, env):
               return self.val

class flp(expression):
        def __init__(self,val):
                self.val = val
                if(type(val) != type(0.0)):
                        print "Floating-Point incorrectly intialized with a " + str(type(val))
        def evaluate(self, env):
               return self.val

class boolean(expression):
        def __init__(self,val):
                self.val = val
                if(type(val) != type(1==1)):
                        print "Boolean incorrectly intialized with a " + str(type(val))
        def evaluate(self, env):
               return self.val

class void(expression):
        def evaluate(self, env):
               return self

